package com.xl.generator.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 评审表
 * @TableName review_record
 */
@TableName(value ="review_record")
@Data
public class ReviewRecord implements Serializable {
    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 评审人
     */
    @TableField(value = "reviewUserId")
    private Integer reviewUserId;

    /**
     * 被评审人id
     */
    @TableField(value = "commonUserId")
    private Integer commonUserId;

    /**
     * 主观第一题评分
     */
    @TableField(value = "questionAScore")
    private Integer questionAScore;

    /**
     * 主观第二题评分
     */
    @TableField(value = "questionBScore")
    private Integer questionBScore;

    /**
     * 主观第一题id
     */
    @TableField(value = "questionAId")
    private Integer questionAId;

    /**
     * 主观第二题id
     */
    @TableField(value = "questionBId")
    private Integer questionBId;

    /**
     * 主观第一题评语
     */
    @TableField(value = "questionAComment")
    private String questionAComment;

    /**
     * 主观第二题评语
     */
    @TableField(value = "questionBComment")
    private String questionBComment;

    //问题A
    @TableField(value = "questionA")
    private String questionA;
    //问题B
    @TableField(value = "questionB")
    private String questionB;

    @TableField(value = "competitionSchemeId")
    private int competitionSchemeId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField(value = "submitTime")
    private Date submitTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField(value = "reviewTime")
    private Date reviewTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}